package com.dili.dd.gpi.util.spring;

import java.lang.annotation.*;

@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface RequireDataSource {

    /**
     * the name of datasource
     *
     * @return
     */
    DataSourceLookupKey key();
}